package com.leadingsoft.pwxk.converter;

import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.CentralPointDto;
import com.leadingsoft.pwxk.model.CentralPoint;

@Component
public class CentralPointConverter extends AbstractConverter<CentralPoint, CentralPointDto> {

	@Override
	protected CentralPointDto toDtoActual(CentralPoint model) {
		CentralPointDto dto = new CentralPointDto();
		BeanUtils.copyProperties(model, dto);
		return dto;
	}

	@Override
	public void copyProperties(CentralPoint model, CentralPointDto dto) {
	}

}
